﻿<%@ Page Title="" Language="C#" MasterPageFile="~/TrangChu.Master" AutoEventWireup="true" CodeBehind="DatVe.aspx.cs" Inherits="Airplane.DatVe" %>
<%@ Register assembly="CollectionPager" namespace="SiteUtils" tagprefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script language="javascript" type="text/javascript">
// <![CDATA[

        function rdbDatVe_onclick() {
           
        }

// ]]>
    </script>
    <style type="text/css">
        #rdbDatVeVe
        {
            width: 19px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
    <div style="width:100%; text-align:center; height:60px; color:Blue;">    
     <h2>Danh Sách chuyến bay đi</h2>
    </div>
    <center>
    <div style=" width:90%;">
        <asp:DataList ID="dlChuyenBay" runat="server" RepeatColumns="2" width="300px" 
            ShowFooter="False" ShowHeader="False" BorderColor="Tan" CellPadding="2" 
            BackColor="LightGoldenrodYellow" BorderWidth="1px" ForeColor="Black" >
            <AlternatingItemStyle BackColor="PaleGoldenrod" />
            <FooterStyle BackColor="Tan" />
            <HeaderStyle BackColor="Tan" Font-Bold="True" />
        <ItemTemplate>
         <center style=" text-align:center">
                <table style=" border-style:dotted; border-color:Red; border-width:1px; width:300px; color: Maroon;">
                <tr>
                    <td>
                        Mã chuyến bay
                    </td>
                    <td align="center">
                        <asp:Label ID="lbMaChuyenBay" runat="server" ForeColor="Blue" Text='<%#Eval("MaChuyenBay", "{0}") %>'></asp:Label>
                    </td>
                </tr>
                 <tr>
                    <td>
                        Ngày đi
                    </td>
                    <td align="center">
                        <asp:Label ID="Label1" runat="server" ForeColor="Blue" Text='<%#Eval("NgayDi", "{0:d}") %>'></asp:Label>
                    </td>
                </tr>
                 <tr>
                    <td>
                        Giờ đi
                    </td>
                    <td align="center">
                        <asp:Label ID="Label2" runat="server" ForeColor="Blue" Text='<%#Eval("GioDi", "{0:t}") %>'></asp:Label>
                    </td>
                </tr>
                 <tr>
                    <td>
                        Giá Người lớn Tiết Kiệm
                    </td>
                    <td align="center">
                        <asp:Label ID="Label3" runat="server" ForeColor="Blue" Text='<%#Eval("GiaNgLonTK", "{0:0,0} VND") %>'></asp:Label>
                    </td>
                </tr>
                 <tr>
                    <td>
                        Giá Trẻ Em Tiết Kiệm
                    </td>
                    <td align="center">
                        <asp:Label ID="Label4" runat="server" ForeColor="Blue" Text='<%#Eval("GiaTreEmTK", "{0:0,0} VND") %>'></asp:Label>
                    </td>
                </tr>
                 <tr>
                    <td>
                        Giá Em bé Tiết Kiệm
                    </td>
                    <td align="center">
                        <asp:Label ID="Label5" runat="server" ForeColor="Blue" Text='<%#Eval("GiaSoSinhTK", "{0:0,0} VND") %>'></asp:Label>
                    </td>
                </tr>
                 <tr>
                    <td>
                        Giá Người lớn Phổ Thông
                    </td>
                    <td align="center">
                        <asp:Label ID="Label6" runat="server" ForeColor="Blue" Text='<%#Eval("GiaNgLonPT", "{0:0,0} VND") %>'></asp:Label>
                    </td>
                </tr>
                 <tr>
                    <td>
                        Giá Trẻ Em Phổ Thông
                    </td>
                    <td align="center">
                        <asp:Label ID="Label7" runat="server" ForeColor="Blue" Text='<%#Eval("GiaTreEmPT", "{0:0,0} VND") %>'></asp:Label>
                    </td>
                </tr>
                 <tr>
                    <td>
                        Giá Em bé Phổ Thông
                    </td>
                    <td align="center">
                        <asp:Label ID="Label8" runat="server" ForeColor="Blue" Text='<%#Eval("GiaSoSinhPT", "{0:0,0} VND") %>'></asp:Label>
                    </td>
                </tr>
                 <tr>
                    <td>
                        Giá Người lớn Thương Gia
                    </td>
                    <td align="center">
                        <asp:Label ID="Label9" runat="server" ForeColor="Blue" Text='<%#Eval("GiaNgLonTG", "{0:0,0} VND") %>'></asp:Label>
                    </td>
                </tr>
                 <tr>
                    <td>
                        Giá Trẻ Em Thương Gia
                    </td>
                    <td align="center">
                        <asp:Label ID="Label10" runat="server" ForeColor="Blue" Text='<%#Eval("GiaTreEmTG", "{0:0,0} VND") %>'></asp:Label>
                    </td>
                </tr>
                 <tr>
                    <td>
                        Giá Sơ Sinh Thương Gia
                    </td>
                    <td align="center">
                        <asp:Label ID="Label11" runat="server" ForeColor="Blue" Text='<%#Eval("GiaSoSinhTG", "{0:0,0} VND") %>'></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td colspan="2" align="center">
                    Đặt vé chuyến bay:<input id="rdbDatVe" type="radio" name="DatVe" runat="server" value='<%#Eval("MaChuyenBay", "{0}") %>' onclick="return rdbDatVe_onclick()"/>

                        </td>
                </tr>
                </table>
               
            </center>
        </ItemTemplate>           
            <SelectedItemStyle BackColor="DarkSlateBlue" ForeColor="GhostWhite" />
        </asp:DataList>
    </div>
     <cc1:CollectionPager ID="CollectionPager1" runat="server" BackText="« Trước" 
                    FirstText="Đầu" LabelText="Trang:" LastText="Cuối" NextText="Sau »" 
                    ResultsFormat="" ShowFirstLast="True" 
                    SliderSize="2" PagingMode="QueryString" BackNextDisplay="Buttons" 
                    BackNextLinkSeparator="•" HideOnSinglePage="True" IgnoreQueryString="False" 
                    PageNumbersDisplay="Numbers" PageSize="2" ResultsLocation="Top" 
                    SectionPadding="3" ShowLabel="True" ShowPageNumbers="True" UseSlider="True" 
                    BackNextLocation="Split" LabelStyle="" ControlStyle="color:red" 
                    PageNumbersStyle="color:RED" PageNumberStyle="" MaxPages="4">
             </cc1:CollectionPager>
    </center>
    <br />
    <hr />
   <div style="width:100%; text-align:center; height:60px; color:Blue;">    
     <h2>Danh Sách chuyến bay về</h2>
    </div>
    <center>
    <div style=" width:90%;">
        <asp:DataList ID="dlChuyenBayVe" runat="server" RepeatColumns="2" width="300px" 
            ShowFooter="False" ShowHeader="False" BorderColor="Tan" CellPadding="2" 
            BackColor="LightGoldenrodYellow" BorderWidth="1px" ForeColor="Black" >
            <AlternatingItemStyle BackColor="PaleGoldenrod" />
            <FooterStyle BackColor="Tan" />
            <HeaderStyle BackColor="Tan" Font-Bold="True" />
        <ItemTemplate>
         <center style=" text-align:center">
                <table style=" border-style:dotted; border-color:Red; border-width:1px; width:300px; color: Maroon;">
                <tr>
                    <td>
                        Mã chuyến bay
                    </td>
                    <td align="center">
                        <asp:Label ID="lbMaChuyenBay" runat="server" ForeColor="Blue" Text='<%#Eval("MaChuyenBay", "{0}") %>'></asp:Label>
                    </td>
                </tr>
                 <tr>
                    <td>
                        Ngày đi
                    </td>
                    <td align="center">
                        <asp:Label ID="Label1" runat="server" ForeColor="Blue" Text='<%#Eval("NgayDi", "{0:d}") %>'></asp:Label>
                    </td>
                </tr>
                 <tr>
                    <td>
                        Giờ đi
                    </td>
                    <td align="center">
                        <asp:Label ID="Label2" runat="server" ForeColor="Blue" Text='<%#Eval("GioDi", "{0:t}") %>'></asp:Label>
                    </td>
                </tr>
                 <tr>
                    <td>
                        Giá Người lớn Tiết Kiệm
                    </td>
                    <td align="center">
                        <asp:Label ID="Label3" runat="server" ForeColor="Blue" Text='<%#Eval("GiaNgLonTK", "{0:0,0} VND") %>'></asp:Label>
                    </td>
                </tr>
                 <tr>
                    <td>
                        Giá Trẻ Em Tiết Kiệm
                    </td>
                    <td align="center">
                        <asp:Label ID="Label4" runat="server" ForeColor="Blue" Text='<%#Eval("GiaTreEmTK", "{0:0,0} VND") %>'></asp:Label>
                    </td>
                </tr>
                 <tr>
                    <td>
                        Giá Em bé Tiết Kiệm
                    </td>
                    <td align="center">
                        <asp:Label ID="Label5" runat="server" ForeColor="Blue" Text='<%#Eval("GiaSoSinhTK", "{0:0,0} VND") %>'></asp:Label>
                    </td>
                </tr>
                 <tr>
                    <td>
                        Giá Người lớn Phổ Thông
                    </td>
                    <td align="center">
                        <asp:Label ID="Label6" runat="server" ForeColor="Blue" Text='<%#Eval("GiaNgLonPT", "{0:0,0} VND") %>'></asp:Label>
                    </td>
                </tr>
                 <tr>
                    <td>
                        Giá Trẻ Em Phổ Thông
                    </td>
                    <td align="center">
                        <asp:Label ID="Label7" runat="server" ForeColor="Blue" Text='<%#Eval("GiaTreEmPT", "{0:0,0} VND") %>'></asp:Label>
                    </td>
                </tr>
                 <tr>
                    <td>
                        Giá Em bé Phổ Thông
                    </td>
                    <td align="center">
                        <asp:Label ID="Label8" runat="server" ForeColor="Blue" Text='<%#Eval("GiaSoSinhPT", "{0:0,0} VND") %>'></asp:Label>
                    </td>
                </tr>
                 <tr>
                    <td>
                        Giá Người lớn Thương Gia
                    </td>
                    <td align="center">
                        <asp:Label ID="Label9" runat="server" ForeColor="Blue" Text='<%#Eval("GiaNgLonTG", "{0:0,0} VND") %>'></asp:Label>
                    </td>
                </tr>
                 <tr>
                    <td>
                        Giá Trẻ Em Thương Gia
                    </td>
                    <td align="center">
                        <asp:Label ID="Label10" runat="server" ForeColor="Blue" Text='<%#Eval("GiaTreEmTG", "{0:0,0} VND") %>'></asp:Label>
                    </td>
                </tr>
                 <tr>
                    <td>
                        Giá Sơ Sinh Thương Gia
                    </td>
                    <td align="center">
                        <asp:Label ID="Label11" runat="server" ForeColor="Blue" Text='<%#Eval("GiaSoSinhTG", "{0:0,0} VND") %>'></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td colspan="2" align="center">
                    Đặt vé chuyến bay: <input type="radio" id="rdbDatVeVe" runat="server" name="ChuyenBayVe" value='<%#Eval("MaChuyenBay") %>' />

                    </td>
                </tr>
                </table>
               
            </center>
        </ItemTemplate>           
            <SelectedItemStyle BackColor="DarkSlateBlue" ForeColor="GhostWhite" />
        </asp:DataList>
    </div>
     <cc1:CollectionPager ID="CollectionPager2" runat="server" BackText="« Trước" 
                    FirstText="Đầu" LabelText="Trang:" LastText="Cuối" NextText="Sau »" 
                    ResultsFormat="" ShowFirstLast="True" 
                    SliderSize="2" PagingMode="QueryString" BackNextDisplay="Buttons" 
                    BackNextLinkSeparator="•" HideOnSinglePage="True" IgnoreQueryString="False" 
                    PageNumbersDisplay="Numbers" PageSize="2" ResultsLocation="Top" 
                    SectionPadding="3" ShowLabel="True" ShowPageNumbers="True" UseSlider="True" 
                    BackNextLocation="Split" LabelStyle="" ControlStyle="color:red" 
                    PageNumbersStyle="color:RED" PageNumberStyle="" 
            QueryStringKey="page2">
             </cc1:CollectionPager>
    </center>

<div>    <table style="width:80%; margin-left:80px; font-family:@Arial Unicode MS; font-size:medium">
           
        <tr>
            <td colspan="2" style="text-align:center;">
                <asp:Button ID="btnThongTinBoSung" runat="server" 
                    Text="Thông tin bổ sung" Font-Names="Arial" Font-Size="Large" ForeColor="#3333CC" 
                    onclick="btnThongTinBoSung_Click" /></td>
        </tr>
       
    </table>
    </div>
</asp:Content>
